package com.shycloud.mido.organ.api.dto;

import com.shycloud.mido.organ.api.entity.MemberActivateEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * Joy Master Device Permission DTO
 * MasterDTO version 2.0
 *
 * @author Xiaoxing Yu
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class JoyMasterDTO extends MemberActivateEntity {

	private static final long serialVersionUID = -465062890436732955L;

	/** 被激活对象姓名 */
	private String name;
	/** 激活账号 */
	@ApiModelProperty("激活账号")
	private String username;
	/** 激活人的手机号 */
	private String phone;
	/** 身份 */
	private String identity;
	/** 机构名称 */
	@ApiModelProperty("机构名称")
	private String orgName;
	/** 剩余天数 */
	@ApiModelProperty("剩余天数")
	private Integer daysRemaining;
	/** 到期时间 */
	@ApiModelProperty("到期时间")
	private Date endTime;

}
